<template>
	<view class="hint">
		<uni-popup ref="popup" type="center" :is-mask-click="isMaskClick" :mask-background-color="maskBackgroundColor">
			<view class="popup_content_hint">
				<view class="header"> 本功能使用需知 </view>
				<view class="content">
					<view class="message">请注意:本功能不是恢复数据功能，不能恢复已经彻底删除的数据，仅能扫描手机存储中现有文件，帮您导出到固定文件夹</view>
				</view>
				<view class="btn">
					<view class="item confirm" @click="popupClose">我已知晓</view>
				</view>
			</view>
		</uni-popup>
	</view>
</template>
<script>
	import {
		mapGetters,
		mapMutations,
		mapActions
	} from 'vuex'
	export default {
		data() {
			return {
				isMaskClick: false,
				maskBackgroundColor: "rgba(0,0,0,0.3)",
			}
		},
		methods: {
			popupOpen() {
				this.$nextTick(() => {
					this.$refs.popup.open()
				})
			},
			popupClose() {
				this.$nextTick(() => {
					this.$refs.popup.close()
					this.$emit("appHInt_confim")
				})

			},
		}
	}
</script>

<style lang="scss" scoped>
	.popup_content_hint {
		background: #ffffff;
		border-radius: 24rpx;
		overflow: hidden;
		width: 660rpx;
		min-height: 360rpx;

		.header {
			padding-top: 40rpx;
			text-align: center;
			height: 48rpx;
			font-size: 32rpx;
			color: #000000;
			font-size: 36rpx;
			margin-bottom: 24rpx;

		}

		.content {
			height: 160rpx;
			display: flex;
			width: 500rpx;
			margin: 0 auto;

			.checkout {
				float: left;
				width: 60rpx;
				height: 48rpx;
				display: flex;
				justify-content: center;
				align-items: center;

				.icon {
					display: block;
					height: 40rpx;
					width: 40rpx;

				}


			}

			.message {
				flex: 1;
				font-size: 28rpx;
				padding-left: 8rpx;
			}
		}

		.btn {
			display: flex;
			height: 104rpx;
			border-top: 2rpx solid #e1dfdf;

			.item {
				flex: 1;
				text-align: center;
				height: 104rpx;
				line-height: 104rpx;
				font-size: 28rpx;

				font-family: AlibabaPuHuiTi_20;
				font-weight: normal;
				color: #2D6AEA;
			}

			.cancel {
				border-right: 2rpx solid #e1dfdf;
				box-sizing: border-box;
				color: #000000;
			}

			.confirm {
				color: #2D6AEA;
			}
		}
	}
</style>